package com.xdf.data_transmitter.service;

import com.xdf.data_transmitter.model.PlanProcess;
import com.xdf.data_transmitter.model.UploadProcess;

import java.util.Date;
import java.util.List;

public interface UploadProcessService {

    int deleteByPrimaryKey(Integer iid);

    int insert(UploadProcess record);

    int insertSelective(UploadProcess record);

    UploadProcess selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(UploadProcess record);

    int updateByPrimaryKey(UploadProcess record);

    List<UploadProcess> getOrderPlanByProcessIId(Integer process_iid);

    List<PlanProcess> getProcessByVatnum(String vat_num);

    List<UploadProcess> selectByOrderIId(Integer order_iid);

    int save(UploadProcess record);

    List<UploadProcess> selectSpecVatnum(int order_iid,int plan_iid);
    List<UploadProcess> selectOrderAfterProcess(int order_iid,int process_index,Date releaseDate);
    List<UploadProcess> selectByVatnum(String vat_num);
    List<UploadProcess> getOrderPlanByVat(String vat_num, String process_name, Date dtrk);
}
